﻿//=====================================================================================================
// LocalizationLibrary
// The Localization Library is a collection of reusable software components that provide 
// support for localization. This library enables you to localize WPF, Silverlight and WP7 applications.
// (http://localizationlibrary.codeplex.com)
//=====================================================================================================
// Author: Nicola Gallo (Website: www.nicola.gallo.name, Email: nicolagmt@hotmail.it) 
//=====================================================================================================

namespace HelloWorld.Startup.Views
{
    //.NET References
    using System;
    using System.Collections.Generic;
    using System.Collections.ObjectModel;
    using System.ComponentModel.Composition;
    using System.Linq;
    using System.Text;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Shapes;

    //LocalizationLibrary References
    using LocalizationLibrary;

    //HelloWorld References
    using HelloWorld.Startup.MVVM;

    /// <summary>
    /// Interaction logic for HeaderView.xaml
    /// </summary>
    public partial class HeaderView : View
    {
        //Constructors

        /// <summary>
        /// Default constructor.
        /// </summary>
        public HeaderView()
        {
            InitializeComponent();
        }

        //Properties

        /// <summary>
        /// Gets the presention models.
        /// </summary>
        [Import("HeaderComposition", typeof(IViewModel))]
        public override IViewModel ViewModel
        {
            get { return base.ViewModel; }
            set { base.ViewModel = value; }
        }

        /// <summary>
        /// Gets the localization models.
        /// </summary>
        [Import("HeaderComposition", typeof(ILocalizationModel))]
        public override ILocalizationModel LocalizationModel
        {
            get { return base.LocalizationModel; }
            set { base.LocalizationModel = value; }
        }
    }
}
